package hu.bme.aut.consulttime.entitydtos;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


public class TeamDTO  implements Serializable{
	private static final long serialVersionUID = 102L;
	
	private long teamId;
	
	private String name;

	// Reference to Project
	private long projectId;

	// Reference to Semester
	private String semesterId;
	
	private List<UserDTO> members;

	public TeamDTO() {
		super();
		this.members = new ArrayList<UserDTO>();
	}

	public TeamDTO(long teamId, String name, long projectId, String semesterId) {
		super();
		this.members = new ArrayList<UserDTO>();
		this.teamId = teamId;
		this.name = name;
		this.projectId = projectId;
		this.semesterId = semesterId;
	}

	public long getTeamId() {
		return teamId;
	}

	public void setTeamId(long teamId) {
		this.teamId = teamId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getProjectId() {
		return projectId;
	}

	public void setProjectId(long projectId) {
		this.projectId = projectId;
	}

	public String getSemesterId() {
		return semesterId;
	}

	public void setSemesterId(String semesterId) {
		this.semesterId = semesterId;
	}

	public List<UserDTO> getMembers() {
		return members;
	}

	public void setMembers(List<UserDTO> members) {
		this.members = members;
	}
}
